/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package classes;

import java.io.Serializable;

/**
 *
 */
public final class Car implements Serializable {

    private String reg_no;
    private Category category;
    private String location;

    public Car(String regno, Category category, String location){
        setReg_no(regno);
        setCategory(category);
        setLocation(location);        
    }
    
    public String getReg_no() {
        return reg_no;
    }

    public void setReg_no(String reg_no) {
        this.reg_no = reg_no;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }
    
    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
}
